﻿// -----------------------------------------------------------------------
//  <copyright file="BaseModel.cs" company="杭州四方称重系统有限公司">
//      Copyright (c) 2017-2019 Hcf. All rights reserved.
//  </copyright>
//  <site>http://www.china-scales.com/</site>
//  <last-editor>陈慧</last-editor>
//  <last-date>2019/6/10 9:39:32</last-date>
// -----------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CarouselView.Models
{
    [Serializable()]
    public abstract class NotifyPropertyBase : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        public void RaiseChange(string PropertyName)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(PropertyName));
        }
    }
}
